module Base
{
	item TransportMedicine
    {
        Weight	=	10.0,
        Type	=	Normal,
        DisplayName	=	Medicine,
        Icon	=	media/ui/Container_Medicine,
        MaxCapacity = 15,
		ConditionMax = 100,
        MechanicsItem = TRUE,
    }

	template vehicle Medicines
	{
		part MedicineFrontLeft
		{
			area = Common,
		}
		part MedicineFrontRight
		{
			area = Common,
		}
		part MedicineMiddleLeft
		{
			area = Common,
		}
		part MedicineMiddleRight
		{
			area = Common,
		}
		part MedicineRearLeft
		{
			area = Common,
		}
		part MedicineRearRight
		{
			area = Common,
		}
		
		part Medicine*
		{
			category = nodisplay,
			specificItem = false,
			itemType = Base.TransportMedicine,
			container
			{
				capacity = 10,
				test = CommonTemplates.ContainerAccess.ContainerByName,
			}
			table install
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Basic Mechanics,
				test = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
					type = Base.Screwdriver,
					count = 1,
					keep = true,
					equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Basic Mechanics,
				test = Vehicles.UninstallTest.Default,
			}
			lua
			{
				create = CommonTemplates.Create.Medicine,
			}
		}
	}
}

